<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var Array8 = [1, 22, 33, 11, 7, 9, 8];
        var newArray8 = [];
        var j = 0;
        for (var i = 0; i < Array8.length; i++) {
            if (Array8[i] > 10) {
                newArray8[j] = Array8[i];
                j++;
            }
        }
        console.log(newArray8);
    </script>
</head>

<body>

</body>

</html>